extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[稀有]纳米陶铝合金"
	info = "减免50%所受炮击伤害\n[color=#DC143C]同时装备两件时可升级[/color]"
	price = 300
	att.def = 50
	att.maxHp = 500
	
func _connect():
	._connect()
	masCha.connect("onHurt",self,"onHurt")

func onHurt(atkInfo):
	if atkInfo.atkType == sys.AtkType.GUN:
		atkInfo.hurtVal *= 0.5

func upgrade():
	name = "[color=#FFFF00][史诗]纳米陶铝合金"
	info = "减免50%所受炮击伤害"
	att.def = 100
	att.maxHp = 1000